package com.example.client;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import java.util.Scanner;

@SpringBootApplication
@EnableEurekaClient
public class ClientApplication {

	public static void main(String[] args) {
//		Scanner scanner=new Scanner(System.in);
//		String port=scanner.nextLine();
//		new SpringApplicationBuilder(ClientApplication.class).properties("server.port="+port).run(args);
		SpringApplication.run(ClientApplication.class, args);
//		new SpringApplicationBuilder(ClientApplication.class).web(true).run(arg);
	}
}
